package com.wechat.weibo.dao;

import com.wechat.weibo.entity.Follows;
import com.wechat.weibo.entity.User;
import org.apache.ibatis.annotations.Param;

import javax.management.relation.Relation;
import java.util.List;

public interface PickDao {
    List<Follows> getPick(String openid);
    List<Follows> getFans(String openid);
    Follows showRelation(String fanID, String mainID);
    void addFan(User fan,User main);
    void updateFan(int fan,int main);
    void delFan(int fan,int main);
    void deUpdateFan(int fan,int main);
}
